 
package com.xbongbong.paas.domain.dao;

import com.xbongbong.paas.domain.entity.PaasAggRuleEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


/**
* @author autoGen
* @time 2018-08-13 10:43:26
*/
@Repository
@Mapper
public interface PaasAggRuleDao {

	 
	Integer insert(PaasAggRuleEntity paasAggRule);
	Integer update(PaasAggRuleEntity paasAggRule);

	void insertBatch(@Param("list") List<PaasAggRuleEntity> paasAggRuleList);
	
	Integer deleteByKey(@Param("key") Long key, @Param("corpid") String corpid);
	PaasAggRuleEntity getByKey(@Param("key") Long key, @Param("corpid") String corpid);
	
	
	List<PaasAggRuleEntity>  findEntitys(@Param("param") Map<String, Object> param);
	Integer getEntitysCount(@Param("param") Map<String, Object> param);
		
		
 
}